package com.zhiyin.seal.constant;

import com.google.common.collect.Maps;
import com.zhiyin.seal.entity.bo.StampSearchParamsBo;

import java.util.Map;

/**
 * 系统常量
 */
public class SystemConstants {
    // 微信登录地址
    public static final String WX_LOGIN_URL="https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code";
    // 获取微信用户手机号
    public static final String WX_GET_PHONE_NUMBER_URL = "https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=%s";

    // 记录查询条件字典
    public static Map<String, StampSearchParamsBo> STAMP_RECORD_PARAM = Maps.newHashMap();

    // 后台登录令牌盐值
    public static String WEB_TOKEN_SALT_FIGURE = "qingshi@2024";
    /**
     * JWT超时时间
     */
    public static Long EXPIRE_TIME = 24 * 60 * 60 * 1000L;
}
